/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Action;


/**
 *Creation of MessageListener to implement a less constrained MVC
 * which passes messages from frame to controler
 * @author Pro
 */
public interface MessageListener {

    /**
     * Overload Interface with String argument in constructor
     * @param task is a string variable sent from Start Stop button
     */
    public void messageAction(String task);

   /**
    *Overload Interface with String argument and one Integer in constructor
    * @param task is a string variable for the type lane comparison
    * @param x is the new value for the car probability
    */
   public void messageAction(String task, int x);

      /**
       *Overload Interface with String argument and two Integers in constructor
       * @param task is a string variable for the type lane comparison
       * @param x is the value of lanes passed in for horizontal lanes
       * @param y is the value of lanes passed in for vertical lanes
       */
      public  void messageAction(String task, int x, int y);

}
